<?php
declare (strict_types = 1);

namespace app\model;


/**
 * @mixin Model
 * 等级表
 * 
 * @property string id 自增ID
 * @property string pid 父级ID
 * @property string name 名称
 * @property string grade 等级
 * @property string config 配置项
 * @property string reward_rule 活动奖励规则配置
 * @property string default 默认一级：0、否  1、是
 * @property int weight 等级排序
 * @property int desc 等级升级描述
 * @property string create_time 创建时间
 * @property string update_time 修改时间
 * @property string status 状态：0、删除  1、正常
 */

class Grade extends Model
{
    protected $table='pt_grade';
    protected $canShowFields = ['id','pid','name','grade','config','reward_rule','default','weight','desc','create_time','update_time','status'];
    protected $updateFields = ['pid','name','grade','config','reward_rule','default','weight','desc','status'];
    protected $noticeName = '等级表';

}